//
//  N_BdpData.h
//  AccuroFit
//
//  Created by Yongfeng Li on 9/9/15.
//  Copyright (c) 2015 Nci Technology Inc. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <CoreData/CoreData.h>


@interface N_BdpData : NSManagedObject

@property (nonatomic, retain) NSNumber * measId;
@property (nonatomic, retain) NSNumber * bodyId;
@property (nonatomic, retain) NSNumber * bphVal;
@property (nonatomic, retain) NSNumber * bplVal;
@property (nonatomic, retain) NSNumber * hRate;
@property (nonatomic, retain) NSDate * measDate;
@property (nonatomic, retain) NSNumber * othData;
@property (nonatomic, retain) NSString * serialNo;

@end

@interface BdpMeasData : NSObject

@property(retain) NSString* sMeasDate;
@property(assign) short nBphVal;
@property(assign) short nBplVal;
@property(assign) short nHrate;
@property(assign) NSUInteger nOthData;
@property(assign) float dDatePos;

-(void) formBdpData:(NSString *)dtMeas bphVal:(short) hVal lpres:(short) lVal pul:(short) hRate;

@end
